650) this.width=650; "title=" QQ20150112140728 "style=" border-left-0px; border-right-width:0px; border-bottom-width:0px; border-top-width:0px "border=" 0 "alt=" QQ20150112140728 "src=" http://s3.51cto.com/wyfs02/M01/58/98/ Wkiol1s1qbkjk0rcaacwc3kjsh0821.jpg "width=" 643 "height=" "/>" The log shows an error while executing the Freshclam script under the Crond service. Freshclam.log log files cannot be superimposed, check permissions. Now that you hav
I. IntroductionClam AntiVirus is a free anti-virus software based on UNIX/LINUX operating systems. It supports online updating of virus libraries.Features 1.1GNU open-source softwareQuick ScanIt can detect 35000 types of viruses, including Microsoft Office documents and macro viruses.Ability to detect compressed files (Zip RAR Tar Gzip Bzip2 ......)Powerful email ScanningHigh scalability1.2 virus submissionIf you find a virus that ClamVA cannot kill, you can enter relevant information on the fol
-1.2.7] # CD ..2.2 Add a user
Add a user group ClamAV and a group member ClamAV (Note: you must add a user before installing clamav-0.97.6.tar.gz)
[[Email protected] Test] # groupadd ClamAV
[[Email protected] Test] # useradd-G ClamAV-S/bin/false-c "Clam Antivirus" ClamAV2.3 install ClamAV
[[Email protected] Test] # tar xfclamav-0.97.6.tar.gz
[[E-mail protected] Test] # cd clamav-0.97.6
[[Email protected] clamav-0.97.6] #./configure -- prefix =/opt/ClamAV -- disable-ClamAV
[[Email protected] clam
Official homepage: http://www.clamav.net/The latest version is 0.88. You must use the latest version to upgrade the virus database.
System Requirements: refer to the original official document below
Quote:RequirementsThe following elements are required to compile ClamAV:Zlib and zlib-devel packagesGCC compiler Suite (both 2.9x and 3.x are supported)The following packages are optional but highly recommended:Bzip2 and bzip2-devel LibraryGnu mp 3It's very important to install the GMP package becau
rowsLogFile/usr/local/clamav/logs/clamd. log delete the comment directory and change it to 14th lines under logs.PidFile/usr/local/clamav/updata/clamd. pid delete the preceding comment path and change it to Line 1.DatabaseDirectory/usr/local/clamav/updata is the same as row 65th above.
12. edit vi/usr/local/clamav/etc/freshclam. conf.# Example comment out this line. 8th rowsDatabaseDirectory/usr/local/clamav/updata row 13thUpdateLogFile/usr/local/cl
comment out this line. Line 8thLogfile/opt/clamav/logs/clamd.log Delete the previous comment directory and change to logs below line 14thPidfile/opt/clamav/updata/clamd.pid Delete the previous comment path and change the 57th line.Databasedirectory/opt/clamav/updata Ibid. 65th4. Configuring the Freshclam.conf File#vi etc/freshclam.conf#Example comment out this lineDatabasedirectory/opt/clamav/updataUpdatelogfile/opt/clamav/logs/freshclam.logPidfile/opt/clamav/updata/freshclam.pid5. Document Aut
. conf. You must at least remove the line that shows Example so that the service can start. You may also consider changing the default values of some commands. For example, you can define which file extensions to scan using ScanPE, ScanELF, and ScanPDF. To improve performance, you can change the default maximum MaxFileSize of the file to be scanned from 25 MB to another value, or change the data size of each file to MaxScanSize.) -- MB is the default value. The larger the value, the more resourc
. pid Delete the preceding comment path and change it to line 1.DatabaseDirectory/usr/local/clamav/updata is the same as row 65th above.
12. Edit vi/usr/local/clamav/etc/freshclam. conf.# Example comment out this line. 8th rowsDatabaseDirectory/usr/local/clamav/updata row 13thUpdateLogFile/usr/local/clamav/logs/freshclam. log row 17thPidFile/usr/local/clamav/updata/fre
comment directory to logs the 14th line belowPidfile/opt/clamav/updata/clamd.pid Delete the previous annotation path and change the 57th line.Databasedirectory/opt/clamav/updata Ditto Line 65th
4. Configure freshclam.conf Files
#vi etc/freshclam.conf
#Example comment out this lineDatabasedirectory/opt/clamav/updataUpdatelogfile/opt/clamav/logs/freshclam.logPidfile/opt/clamav/updata/freshclam.pid
5. File authorization
#chown clamav:clamav/opt/clamav/logs/freshclam.log
#chown clamav:clamav/opt/c
Dd if =/dev/zero of =/root/havp_tmp.img bs = 128 K count = 1 seek = 1024 (create 128 MB Virtual Disk)mkfs.ext2 /root/havp_tmp.imgmount -o loop,mand /root/havp_tmp.img /var/tmp/havp
The size of files that can be scanned by ps. HAVP will be limited by the disk space mounted here
Update the shared libraries database (for ClamAV)
Vi/etc/ld. so. conf --> Add:/usr/local/libldconfig
Start HAVP
/usr/local/sbin/havp Bundling squid and havp
Bundling squid and
Update the ClamAV Anti-Virus Software Package in CentOS
Recently, I have been studying how to set up Postfix to implement the Mail Gateway under CentOS, so that I can prepare for disaster recovery of the mail platform gateway in the future, today, I installed Postfix in the installation configuration of ClamAV Anti-Virus Software Package update, and encountered an episode.
The specific problem is not a major problem, that is, the version installed earlier than ClamAV is 0.98.4. When the installa
Document Purpose Install clamav Antivirus on Linux, update the virus database, and complete the drug search workCommon Commands/usr/local/clamav/freshclam/freshclam upgrading the Repository/usr/local/clamav/clamscan/clamscan-r/home check /home file virusRequired SoftwareClamav-0.94.1.tar.gzSystem EnvironmentOperating System: Linux localhost.localdomain 3.10.0-327.36.3.el7.x86_64 #1 SMP Mon Oct 16:09:20 UTC
protection.
Install anti-virus software ClamAV
ClamAV is an open-source (GPL) Anti-Virus engine designed to detect trojans, viruses, malware, and other malicious threats. When installing the program, you can specify whether to manually run the program or connect it to the background process for continuous running. For the desktop, it is ideal to run the program in the form of a later process, because in this case, you can still choose to perform a manual scan.
To install ClamAV as a running bac
-freshclam, or the Fedora:sudo yum install ClamAV. Since clam is very lightweight, downloading and installing packages should not take much time.
Upgrade Virus Library
The first thing to do after installation is to upgrade the virus library to detect the latest threats. This step is easy to do if you run sudo freshclam. It immediately connects to the clam server and downloads the latest virus information.
ClamAV is an open source antivirus engine that can be used on Linux platforms to detect Trojans, viruses, malware, and other malicious threats.Official website: http://www.clamav.net/First, the installation of the CentOS environment# yum Install-y epel--y ClamAVSecond, virus database update check: Freshclam# Freshclam ClamAV update process started at Fri Sep A -: +: - .MAIN.CLD isUp to date (version: -, S
ClamAV is an open source antivirus engine developed by the Sourcefire organization, and Sourcefire is also the owner of the snort intrusion detection engine. ClamAV provides a faster and more flexible framework for detecting malicious code and software products. Can be used as an existing desktop, file server, mail server and other anti-virus scanning software in the context of anti-virus scanning software tools or alternative products. Also included in the ClamAV package are the LIBCLAMAV libra
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.